Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create the API Definitions as Structs in the API Component #14

Merged
merged 6 commits into from
Apr 4, 2024

Conversation

mbarnes
Copy link
Collaborator

@mbarnes mbarnes commented Mar 19, 2024

Finishes JIRA story ARO-5411 - Create the API Definitions as Structs in the API Component

This will remain in Draft until #7 is finalized.

@mbarnes mbarnes force-pushed the api-updates branch 2 times, most recently from 3a68e99 to 7613063 Compare March 19, 2024 16:01
@mbarnes mbarnes force-pushed the api-updates branch 2 times, most recently from 144adbb to 355c377 Compare March 27, 2024 20:27
@mbarnes mbarnes force-pushed the api-updates branch 6 times, most recently from 0a360d5 to 2b1b2b9 Compare April 3, 2024 12:58
@mbarnes mbarnes marked this pull request as ready for review April 3, 2024 16:33
Matthew Barnes added 5 commits April 3, 2024 12:34
This uses OpenShift API types for the internal representation of
a cluster's ExternalAuths. The types are not a 100% match to our
representation (data is stored in what are supposed to be config
map or secret name references) but it's close enough.

Adds a dependency on github.com/openshift/api.
Remove clusterFromRequest() and "cache" as a valid API version.
mjlshen
mjlshen previously approved these changes Apr 3, 2024
Copy link
Contributor

@mjlshen mjlshen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

s-amann
s-amann previously approved these changes Apr 4, 2024
Copy link
Contributor

@s-amann s-amann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, some suggestions to also revert below

frontend/frontend.go Outdated Show resolved Hide resolved
frontend/frontend.go Outdated Show resolved Hide resolved
frontend/frontend.go Outdated Show resolved Hide resolved
The API version middleware will catch an invalid API version and
complete the request before the final handler function executes,
so handler functions can safely get the versioned interface from
the request context.
@mbarnes mbarnes dismissed stale reviews from s-amann and mjlshen via 7f0f522 April 4, 2024 13:24
@s-amann s-amann merged commit 56bafb4 into Azure:main Apr 4, 2024
3 checks passed
@mbarnes mbarnes deleted the api-updates branch April 4, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants